import React from 'react'
import {Outlet,NavLink} from 'react-router-dom'
import { Tabbar } from 'react-vant'
import { HomeO, UserCircleO } from '@react-vant/icons'
const App = () => {
  return (
    <div>
      <Outlet />
      <footer>
        <Tabbar>
        <Tabbar.Item icon={<HomeO />}><NavLink to="/">首页</NavLink></Tabbar.Item>
        <Tabbar.Item icon={<UserCircleO  />}><NavLink to="/my">我的</NavLink></Tabbar.Item>
      </Tabbar>
      </footer>
    </div>
  )
}

export default App
